package com.test.entities;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Barber  {
 
	@Bean(name="barber")
	public Employee getBarber(){
 
		return new Employee(505,"Barber");
 
	}
}



